<include file="Public/sui_header" />
<div style="font-size:1.2em;margin-top: 0.8rem;">
    <span class="color-block">&nbsp;</span>&nbsp;投诉订单
</div>
<form method="post">
    <div class="card">
        <div class="card-content">
            <div class="card-content-inner">
                <div class="list-block">
                    <ul>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">名称</div>
                                    <div class="item-input">
                                        {$funding['name']}
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">下单时间</div>
                                    <div class="item-input">
                                        {$order['create_time']|date="Y-m-d", ###}
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">投诉状态</div>
                                    <div class="item-input">
                                        <if condition="$complaint">
                                        {$complaint['state']}
                                        <else/>
                                        未提交投诉
                                        </if>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="align-top">
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">投诉内容</div>
                                    <div class="item-input">
                                        <if condition="$complaint">
                                        <textarea name="content" readonly="">{$complaint['content']}</textarea>
                                        <else/>
                                        <textarea name="content"></textarea>
                                        </if>
                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <if condition="$complaint">
        <div class="row detail-submit">
            <div class="col-100">
                <a href="#" class="button button-big button-fill button-info close-panel return">返回</a>
            </div>
        </div>
        <else/>
        <div class="row detail-submit">
            <div class="col-50">
                <a href="#" class="button button-big button-fill button-info close-panel return">返回</a>
            </div>
            <div class="col-50">
                <input type="submit" value="提交" class="button button-big button-fill button-success" />
            </div>
        </div>
    </if>
</form>
<include file="Public/sui_footer" />
